package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Role;
import cn.wolfcode.ssm.qo.PageResult;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {

    void delete(Long id);

    void save(Role role,Long[] ids);

    Role getOne(Long id);

    List<Role> getAll();

    void update(Role role,Long[]  ids);

    PageInfo<Role> selectForPageResult(QueryObject qo);
}
